package com.biz.primus.model.misc.vo;


import com.biz.primus.model.misc.vo.ShortMessageVo;
import lombok.Getter;
import lombok.Setter;

/**
 * @author yanweijin
 * @date 2017/6/29
 */
@Getter
@Setter
public class AliYunxinRequestVo {

    private String content;

    private String tempCode;

    private String smsSign;

    private String phone;

    public AliYunxinRequestVo(ShortMessageVo sm, String tempCode) {
        this.phone = sm.getMobile();
        this.smsSign = sm.getSignature();
        this.content = "{\"content\":\"" + sm.getContent() + "\"}";
        this.tempCode = tempCode;
    }

}
